package com.woniuxy01;

import java.util.Scanner;

public class Test02 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入学生成绩");
        int score = scanner.nextInt();
        //这条语句不是一定会执行，需要满足一定条件(score>=95)
        if (score >= 95) {
            System.out.println("考的不错，奖励");
        }

        if (!(score >= 95)) {
//        if (score<95) {
            System.out.println("考的差，惩罚");
        }

        if (score >= 95) {
            System.out.println("考的不错，奖励");
        }else{
            System.out.println("考的差，惩罚");
        }

        System.out.println("程序结束");

    }
}